pull_image () {
    # 拉取应用镜像
    docker pull decezz/app
    docker pull composer
    docker pull python:3.8-alpine
}

# app
de () {
    (docker run -it --rm -v $(pwd):/mnt decezz/app "$@")
}
# python
python_d () {
    (docker run -it --rm -v $(pwd):/usr/src/app -w /usr/src/app python:3.8-alpine "$@")
}
# php composer
composer_d () {
    (docker run -it --rm -v $(pwd):/app composer "$@")
}
